<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>黑马面面</title>
  <link rel="stylesheet" href="./css/normalize.css">
  <link rel="stylesheet" href="./css/swiper.min.css">
  <link rel="stylesheet" href="./css/index.css">
  
</head>
<body>
  <section class="wrap">
    <!-- 头部区域 始 -->
    <header class="header">黑马面面</header>
    <!-- 头部区域 终 -->

    <!-- 导航栏区域 始 -->
    <nav class="nav">
      <a href="#" class="item">
        <img src="./icons/icon1.png"></img>
        <span>HR面试</span>
      </a>
      <a href="#" class="item">
        <img src="./icons/icon2.png"></img>
        <span>笔试</span>
      </a>
      <a href="#" class="item">
        <img src="./icons/icon3.png"></img>
        <span>技术面试</span>
      </a>
      <a href="#" class="item">
        <img src="./icons/icon4.png"></img>
        <span>模拟面试</span>
      </a>
      <a href="#" class="item">
        <img src="./icons/icon5.png"></img>
        <span>面试技巧</span>
      </a>
      <a href="#" class="item">
        <img src="./icons/icon6.png"></img>
        <span>薪资查询</span>
      </a>
    </nav>
    <!-- 导航栏区域 终 -->

    <!-- go 区域 始 -->
    <section class="go">
      <img src="./images/go.png" alt="">
    </section>
    <!-- go 区域 终 -->
  </section>

  <!-- 就业指导模块 始 -->
  <section class="content">
    <!-- 头部区域 -->
    <div class="con-hd">
      <h4>
        <span class="icon"><img src="./icons/i2.png" alt=""></span>
        就业指导
      </h4>
      <a href="#" class="more">更多>></a>
    </div>
    <!-- 旋转木马轮播图区域 -->
    <div class="get_job_focus">
      <!-- Swiper -->
      <!-- 添加个类名，让后续的 js 代码能区分开不同的 swiper -->
      <div class="swiper-container get_job_fo">
        <div class="swiper-wrapper">
          <div class="swiper-slide">
            <a href="#"><img src="./images/pic.png" alt=""></a>
            <p>老师教你应对面试技巧</p>
          </div>
          <div class="swiper-slide">
            <a href="#"><img src="./images/ldh.jpg" alt=""></a>
            <p>老师教你应对面试技巧</p>
          </div>
          <div class="swiper-slide">
            <a href="#"><img src="./images/3.jpg" alt=""></a>
            <p>老师教你应对面试技巧</p>
          </div>
        </div>
        <!-- 要调整箭头位置，但 swiper-container 有overflow:hidden，就要将其拿出去 -->
        <!-- 添加左右箭头效果 -->
        <!-- Add Arrows -->
        <!-- <div class="swiper-button-next"></div>
        <div class="swiper-button-prev"></div> -->
        <!-- 下面的是分页器效果，不需要删除 -->
        <!-- Add Pagination -->
        <!-- <div class="swiper-pagination"></div> -->
      </div>
      <!-- 根据需求，调整箭头，需要放在此处 -->
      <!-- Add Arrows -->
      <div class="swiper-button-next"></div>
      <div class="swiper-button-prev"></div>
    </div>
  </section>
  <!-- 就业指导模块 终 -->


  <!-- 充电学习模块 始 -->
  <section class="content study_con">
    <!-- 头部区域 -->
    <div class="con-hd">
      <h4>
        <span class="icon"><img src="./icons/i1.png" alt=""></span>
        充电学习
      </h4>
      <a href="#" class="more">更多>></a>
    </div>
    <!-- 学习模块轮播图区域 -->
    <div class="study">
      <!-- 添加个类名，让后续的 js 代码能区分开不同的 swiper -->
      <div class="swiper-container study_fo">
        <div class="swiper-wrapper">
          <div class="swiper-slide">
            <a href="#"><img src="./images/pic1.png" alt=""></a>
            <h5>说地道英语，告别中式英语</h5>
            <p>100 人学习</p>
          </div>
          <div class="swiper-slide">
            <a href="#"><img src="./images/pic2.png" alt=""></a>
            <h5>说地道英语，告别中式英语</h5>
            <p>100 人学习</p>
          </div>
          <div class="swiper-slide">
            <a href="#"><img src="./images/pic1.png" alt=""></a>
            <h5>说地道英语，告别中式英语</h5>
            <p>100 人学习</p>
          </div>
          <div class="swiper-slide">
            <a href="#"><img src="./images/pic2.png" alt=""></a>
            <h5>说地道英语，告别中式英语</h5>
            <p>100 人学习</p>
          </div>
        </div>
      </div>
    </div>
  </section>
  <!-- 充电学习模块 终 -->

  <!-- 底部模块 始 -->
  <footer class="footer">
    <a href="#" class="item">
      <img src="./icons/home.png" alt="">
      <p>首页</p>
    </a>
    <a href="#" class="item">
      <img src="./icons/ms.png" alt="">
      <p>模拟面试</p>
    </a>
    <a href="#" class="item">
      <img src="./icons/net.png" alt="">
      <p>技术面试</p>
    </a>
    <a href="#" class="item">
      <img src="./icons/user.png" alt="">
      <p>我的主页</p>
    </a>
  </footer>
  <!-- 底部模块 总 -->

  <!-- js 部分 -->
  <script src="./js/flexible.js"></script>
  <script src="./js/swiper.min.js"></script>
  <script>
    // 这个函数里面是 就业指导轮播图
    (function () {
      var swiper = new Swiper('.get_job_fo', {
        // 能够显示的个数
        // slidesPerView: 3,
        slidesPerView: 2,
        // 每个 slide 之间的距离
        spaceBetween: 30,
        // 活跃状态的 slide 的位置
        // true-矩阵 flase-居左
        centeredSlides: true,
        loop: true,
        // // 分页器效果 - 不需要删除
        // pagination: {
        //   el: '.swiper-pagination',
        //   clickable: true,
        // },
        // 添加左右箭头效果
        navigation: {
          nextEl: '.swiper-button-next',
          prevEl: '.swiper-button-prev',
        },
      });
    })();
    // 两个函数都是对 swiper-container 的类标签进行修改 - 需要自行调整
    // 这个函数里面是 充电学习轮播图
    (function () {
      var swiper = new Swiper('.study_fo', {
      slidesPerView: 2.2,
      spaceBetween: 20,
    });
    })();
  </script>
</body>
</html>
